import request from '@/utils/request'



export function saveImageSrcUrlList(data) {
  return request.post('/api/imageSrcUrl/save', data)
}


export function ImageSrcUrlPage( params) {
  return request.post('/api/imageSrcUrl/page', params)
}


export function deleteImageSrcUrl(data) {
  return request.post('/api/imageSrcUrl/delete', data)
}
export function saveImageSrcUrlDetail(data) {
  return request.post('/api/imageSrcUrl/saveDetail', data)
}

export function getCrawlRecords( params) {
  return request.get('/api/imageSrcUrl/crawl-records', {params})
}

export function getCrawlRecordDetail(id, params) {
  return request.get(`/api/imageSrcUrl/crawl-records/${id}`, {params} )
}

export function deleteImageRecordSrcUrl(id){
  return request.delete(`/api/imageSrcUrl/crawl-records/${id}`)
}